git-annex.git
13 months agopreparing release
Joey Hess [Wed, 15 Jan 2025 15:39:40 +0000 (11:39 -0400)]
preparing release

13 months agorsync security fix for bundled builds
Joey Hess [Wed, 15 Jan 2025 15:16:46 +0000 (11:16 -0400)]
rsync security fix for bundled builds

I have updated all linux builds.

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 13 Jan 2025 18:24:28 +0000 (14:24 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agopre-init config and hook
Joey Hess [Mon, 13 Jan 2025 18:22:49 +0000 (14:22 -0400)]
pre-init config and hook

Added annex.pre-init-command git config and pre-init-annex hook that is run
before git-annex repository initialization.

This can block initialization. Or it can preform pre-initialization
configuration or tweaking.

I left stdio connected while it's running, so it could also be used for
interactive prompting conceivably, although that would want to use /dev/tty
anyway probably in order to not pollute the stdout of a command when
automatic initialization is done.

Sponsored-by: Dartmouth College's OpenNeuro project
14 months agoAdded a comment
lemondata [Mon, 13 Jan 2025 17:43:25 +0000 (17:43 +0000)]
Added a comment

14 months agocomment
Joey Hess [Mon, 13 Jan 2025 17:32:46 +0000 (13:32 -0400)]
comment

14 months agoupdate
Joey Hess [Mon, 13 Jan 2025 17:26:36 +0000 (13:26 -0400)]
update

14 months agocomment
Joey Hess [Mon, 13 Jan 2025 17:14:54 +0000 (13:14 -0400)]
comment

14 months agodocument files
Joey Hess [Mon, 13 Jan 2025 17:14:12 +0000 (13:14 -0400)]
document files

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 13 Jan 2025 17:11:49 +0000 (13:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agotodo
Joey Hess [Mon, 13 Jan 2025 17:04:38 +0000 (13:04 -0400)]
todo

kind of a bug, but I'm not sure if it can be fixed

14 months agoupdate
Joey Hess [Sun, 12 Jan 2025 16:22:02 +0000 (12:22 -0400)]
update

14 months agoAdded a comment
yarikoptic [Fri, 10 Jan 2025 20:27:49 +0000 (20:27 +0000)]
Added a comment

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 10 Jan 2025 18:55:00 +0000 (14:55 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoadded hooks corresponding to annex.*-command
Joey Hess [Fri, 10 Jan 2025 18:50:49 +0000 (14:50 -0400)]
added hooks corresponding to annex.*-command

* Added freezecontent-annex and thawcontent-annex hooks that
  correspond to the git configs annex.freezecontent and
  annex.thawcontent.
* Added secure-erase-annex hook that corresponds to the git config
  annex.secure-erase-command.
* Added commitmessage-annex hook that corresponds to the git config
  annex.commitmessage-command.
* Added http-headers-annex hook that corresponds to the git config
  annex.http-headers-command.
  that correspond to the post-update-annex and pre-commit-annex hooks.

The use case for these is eg, setting up a git repository that is run in a
container, where the easiest way to provide a script is by putting it in
.git/hooks/, rather than copying it into the container in a way that puts
it in PATH.

This is all the ones that make sense to add for annex.*-config git configs.
annex.youtube-dl-command is not a hook, it's telling git-annex what command
to run. So is annex.shared-sop-command. So omitted those.

May later also want to add hooks corresponding to
`remote.<name>.annex-cost-command` etc.

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
14 months agoAdded a comment: on the init hook
yarikoptic [Fri, 10 Jan 2025 17:33:15 +0000 (17:33 +0000)]
Added a comment: on the init hook

14 months agoconfigs annex.post-update-command and annex.pre-commit-command
Joey Hess [Fri, 10 Jan 2025 17:27:51 +0000 (13:27 -0400)]
configs annex.post-update-command and annex.pre-commit-command

Added git configs annex.post-update-command and annex.pre-commit-command
that correspond to the git-annex hook scripts post-update-annex and
pre-commit-annex.

Note that the hook files take precience over the git config, since the git
config can includ global config which should be overridden by local config.

These new git configs are probably not super useful. Especially the
pre-commit-annex hook is there to install scripts to instead of the
pre-commit hook, since git-annex installs that hook itself. So why would
someone want to use a git config for that? Only reason I can think of would
be in a global git config. Or possibly because it's easier to set a git
config than write a hook script, on an OS like Windows.

The real reason I'm adding these is as groundwork for making other
annex.*-command git configs also be available as hook scripts. I want
to avoid having some things available as only git hooks and others as
both gitconfigs and git hooks. (It seems that some annex.*-command configs
don't translate to git hooks though.)

In the man page, moved documentation of the hooks to be next to the
documentation of the git configs. This is to avoid repitition.

14 months agoallocate this development to openneuro - we need to curate/process datasets from...
yarikoptic [Fri, 10 Jan 2025 17:27:23 +0000 (17:27 +0000)]
allocate this development to openneuro - we need to curate/process datasets from/for openneuro on discovery

14 months agocomment
Joey Hess [Fri, 10 Jan 2025 16:49:11 +0000 (12:49 -0400)]
comment

14 months agocomment
Joey Hess [Fri, 10 Jan 2025 16:08:28 +0000 (12:08 -0400)]
comment

14 months agomake git-remote-annex link available to test suite
Joey Hess [Fri, 10 Jan 2025 15:01:43 +0000 (11:01 -0400)]
make git-remote-annex link available to test suite

14 months agofixed
Joey Hess [Fri, 10 Jan 2025 14:56:35 +0000 (10:56 -0400)]
fixed

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 10 Jan 2025 14:37:50 +0000 (10:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agofix windows build
Joey Hess [Fri, 10 Jan 2025 14:37:39 +0000 (10:37 -0400)]
fix windows build

14 months agoAdded a comment
yarikoptic [Fri, 10 Jan 2025 03:20:32 +0000 (03:20 +0000)]
Added a comment

14 months agorepo is probably not technically offline, just out of reach
jkniiv [Thu, 9 Jan 2025 21:16:49 +0000 (21:16 +0000)]
repo is probably not technically offline, just out of reach

14 months agoAdded a comment: same problem on a VPS
jkniiv [Thu, 9 Jan 2025 21:14:06 +0000 (21:14 +0000)]
Added a comment: same problem on a VPS

14 months agocomment
Joey Hess [Thu, 9 Jan 2025 18:23:51 +0000 (14:23 -0400)]
comment

14 months agocomment
Joey Hess [Thu, 9 Jan 2025 16:07:23 +0000 (12:07 -0400)]
comment

14 months agoretitle
Joey Hess [Thu, 9 Jan 2025 15:48:42 +0000 (11:48 -0400)]
retitle

14 months agocomment
Joey Hess [Thu, 9 Jan 2025 15:46:53 +0000 (11:46 -0400)]
comment

14 months ago(no commit message)
parseaus [Thu, 9 Jan 2025 07:27:27 +0000 (07:27 +0000)]

14 months agolayout
Joey Hess [Wed, 8 Jan 2025 17:55:24 +0000 (13:55 -0400)]
layout

14 months agolayout
Joey Hess [Wed, 8 Jan 2025 17:55:00 +0000 (13:55 -0400)]
layout

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 8 Jan 2025 17:52:34 +0000 (13:52 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoupdate
Joey Hess [Wed, 8 Jan 2025 17:52:22 +0000 (13:52 -0400)]
update

14 months agoAdded a comment: failing with `Operation not petmitted`
octvs@17a99a7aaeb0c0e0a2375e14807b138740ba34e9 [Wed, 8 Jan 2025 08:25:04 +0000 (08:25 +0000)]
Added a comment: failing with `Operation not petmitted`

14 months agoAdded a comment
Atemu [Tue, 7 Jan 2025 22:28:16 +0000 (22:28 +0000)]
Added a comment

14 months agoAdded a comment
yarikoptic [Tue, 7 Jan 2025 22:01:20 +0000 (22:01 +0000)]
Added a comment

14 months agoAdded a comment
yarikoptic [Tue, 7 Jan 2025 21:23:26 +0000 (21:23 +0000)]
Added a comment

14 months ago(no commit message)
Atemu [Tue, 7 Jan 2025 21:11:41 +0000 (21:11 +0000)]

14 months agoAdded a comment: odd system
yarikoptic [Tue, 7 Jan 2025 21:06:35 +0000 (21:06 +0000)]
Added a comment: odd system

14 months agocomment
Joey Hess [Tue, 7 Jan 2025 20:50:37 +0000 (16:50 -0400)]
comment

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 7 Jan 2025 20:37:48 +0000 (16:37 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agowindows permissions fix
Joey Hess [Tue, 7 Jan 2025 20:37:39 +0000 (16:37 -0400)]
windows permissions fix

Windows: Fix permission denied error when dropping files that have the
readonly attribute set.

Files coming from a special remote may have had write permission removed
from them. The directory special remote does that. And there are
probably others. So rather than fixing it on the special remote side,
made moveAnnex, on Windows, add back the write bit. This apparently
removes the readonly attribute. See Remote.Directory.removeDirGeneric
which already did the same on windows to allow removing files from the
directory special remote.

The reason that cleanObjectLoc also calls allowWrite is to handle
situations where files have already gotten into git-annex repositories on
Windows with the write bit set. Eg, an older git-annex put them there.
Or perhaps the git-annex repository was populated on some other OS.

14 months agoAdded a comment
yarikoptic [Tue, 7 Jan 2025 20:12:31 +0000 (20:12 +0000)]
Added a comment

14 months agoclose
Joey Hess [Tue, 7 Jan 2025 20:06:00 +0000 (16:06 -0400)]
close

14 months agogit-remote-annex enableremote to support readonly webdav
Joey Hess [Tue, 7 Jan 2025 19:57:20 +0000 (15:57 -0400)]
git-remote-annex enableremote to support readonly webdav

* Allow enableremote of an existing webdav special remote that has
  read-only access.
* git-remote-annex: Use enableremote rather than initremote.

14 months agosame bug
Joey Hess [Tue, 7 Jan 2025 19:53:47 +0000 (15:53 -0400)]
same bug

14 months agotag INM7
Joey Hess [Tue, 7 Jan 2025 19:52:20 +0000 (15:52 -0400)]
tag INM7

based on mih filing or commenting on things and/or on
git-remote-annex being used

14 months agoclose, behaving as documented
Joey Hess [Tue, 7 Jan 2025 18:47:56 +0000 (14:47 -0400)]
close, behaving as documented

14 months agocomment
Joey Hess [Tue, 7 Jan 2025 18:39:06 +0000 (14:39 -0400)]
comment

14 months agocomment
Joey Hess [Tue, 7 Jan 2025 18:28:24 +0000 (14:28 -0400)]
comment

14 months agocomment
Joey Hess [Tue, 7 Jan 2025 18:26:21 +0000 (14:26 -0400)]
comment

14 months agoFix installation on Android
Joey Hess [Tue, 7 Jan 2025 18:13:46 +0000 (14:13 -0400)]
Fix installation on Android

Unfortunately, commit ce95cac19501bfbffd610203083510888a6b9646 broke
android installation way back in May of last year.

14 months agoremove multiple dup comments
Joey Hess [Tue, 7 Jan 2025 18:08:32 +0000 (14:08 -0400)]
remove multiple dup comments

14 months agocomment
Joey Hess [Tue, 7 Jan 2025 18:05:03 +0000 (14:05 -0400)]
comment

14 months agocomment
Joey Hess [Tue, 7 Jan 2025 17:55:24 +0000 (13:55 -0400)]
comment

14 months agoclose, not a bug
Joey Hess [Tue, 7 Jan 2025 17:47:45 +0000 (13:47 -0400)]
close, not a bug

mrisse posted a comment earlier explaining the user's confusion to them

14 months agoretitle
Joey Hess [Tue, 7 Jan 2025 17:46:05 +0000 (13:46 -0400)]
retitle

14 months agocomment
Joey Hess [Tue, 7 Jan 2025 17:37:57 +0000 (13:37 -0400)]
comment

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 7 Jan 2025 17:21:49 +0000 (13:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoremove empty comment
Joey Hess [Tue, 7 Jan 2025 17:21:41 +0000 (13:21 -0400)]
remove empty comment

14 months agoreponse
Joey Hess [Tue, 7 Jan 2025 17:21:17 +0000 (13:21 -0400)]
reponse

14 months agotodo from forum post
Joey Hess [Tue, 7 Jan 2025 17:00:32 +0000 (13:00 -0400)]
todo from forum post

14 months agoAdded a comment
yarikoptic [Tue, 7 Jan 2025 16:09:31 +0000 (16:09 +0000)]
Added a comment

14 months agoinitial idea on `git annex init` hooks
yarikoptic [Tue, 7 Jan 2025 14:55:52 +0000 (14:55 +0000)]
initial idea on `git annex init` hooks

14 months agoreport on the main repo being offline
jkniiv [Tue, 7 Jan 2025 06:56:08 +0000 (06:56 +0000)]
report on the main repo being offline

14 months agoremoved
jkniiv [Tue, 7 Jan 2025 06:15:59 +0000 (06:15 +0000)]
removed

14 months agoAdded a comment
Doable8234 [Tue, 7 Jan 2025 02:11:33 +0000 (02:11 +0000)]
Added a comment

14 months agoAdded a comment
yarikoptic [Tue, 7 Jan 2025 01:06:57 +0000 (01:06 +0000)]
Added a comment

14 months agoAdded a comment
yarikoptic [Tue, 7 Jan 2025 01:03:24 +0000 (01:03 +0000)]
Added a comment

14 months agoremoved
yarikoptic [Mon, 6 Jan 2025 23:39:56 +0000 (23:39 +0000)]
removed

14 months agoencfs testing issue on v10 locked
yarikoptic [Mon, 6 Jan 2025 23:39:35 +0000 (23:39 +0000)]
encfs testing issue on v10 locked

14 months agoAdded a comment: may be %dotgit?
yarikoptic [Mon, 6 Jan 2025 23:38:55 +0000 (23:38 +0000)]
Added a comment: may be %dotgit?

14 months agoAdded a comment: may be %dotgit?
yarikoptic [Mon, 6 Jan 2025 23:38:39 +0000 (23:38 +0000)]
Added a comment: may be %dotgit?

14 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 6 Jan 2025 20:42:12 +0000 (16:42 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

14 months agoforgot to add this comment earlier
Joey Hess [Mon, 6 Jan 2025 20:42:05 +0000 (16:42 -0400)]
forgot to add this comment earlier

14 months agoAdded a comment
jkniiv [Mon, 6 Jan 2025 08:54:05 +0000 (08:54 +0000)]
Added a comment

14 months agoAdded a comment
jkniiv [Mon, 6 Jan 2025 08:52:04 +0000 (08:52 +0000)]
Added a comment

14 months agoAdded a comment
Doable8234 [Mon, 6 Jan 2025 05:03:22 +0000 (05:03 +0000)]
Added a comment

14 months agoAdded a comment
Doable8234 [Mon, 6 Jan 2025 05:02:21 +0000 (05:02 +0000)]
Added a comment

14 months agoAdded a comment
Doable8234 [Mon, 6 Jan 2025 05:00:47 +0000 (05:00 +0000)]
Added a comment

14 months agoinitial report on encfs and per-repository ssh caching
yarikoptic [Sun, 5 Jan 2025 01:35:01 +0000 (01:35 +0000)]
initial report on encfs and per-repository ssh caching

14 months agoinitial report on encfs and per-repository ssh caching
yarikoptic [Sun, 5 Jan 2025 00:59:40 +0000 (00:59 +0000)]
initial report on encfs and per-repository ssh caching

14 months agoinitial report on encfs and per-repository ssh caching
yarikoptic [Sun, 5 Jan 2025 00:56:51 +0000 (00:56 +0000)]
initial report on encfs and per-repository ssh caching

14 months agoAdded a comment: Same bug
Brendan [Sat, 4 Jan 2025 04:46:29 +0000 (04:46 +0000)]
Added a comment: Same bug

14 months agoAdded a comment: Same bug
Brendan [Sat, 4 Jan 2025 04:46:11 +0000 (04:46 +0000)]
Added a comment: Same bug

14 months agoAdded a comment
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da [Sat, 4 Jan 2025 04:41:14 +0000 (04:41 +0000)]
Added a comment

14 months agoAdded a comment
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da [Sat, 4 Jan 2025 04:39:20 +0000 (04:39 +0000)]
Added a comment

14 months agoAdded a comment
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da [Sat, 4 Jan 2025 04:35:24 +0000 (04:35 +0000)]
Added a comment

14 months agoAdded a comment
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da [Sat, 4 Jan 2025 04:34:02 +0000 (04:34 +0000)]
Added a comment

14 months agoVURL verifyKeyContent True when there are no recorded equivkeys
Joey Hess [Fri, 3 Jan 2025 21:24:30 +0000 (17:24 -0400)]
VURL verifyKeyContent True when there are no recorded equivkeys

Avoid verification error when addurl --verifiable is used with an url
claimed by a special remote other than the web.

14 months agolog: Support --key, as well as --branch and --unused
Joey Hess [Fri, 3 Jan 2025 19:45:42 +0000 (15:45 -0400)]
log: Support --key, as well as --branch and --unused

--all remains a special case, since it is more efficient and displays in a
nicer order.

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
14 months agocomment
Joey Hess [Fri, 3 Jan 2025 19:11:29 +0000 (15:11 -0400)]
comment

14 months agossh exit status 255 is a connection problem
Joey Hess [Fri, 3 Jan 2025 18:33:24 +0000 (14:33 -0400)]
ssh exit status 255 is a connection problem

Previously, when the git config was unable to be read from a ssh remote,
it would try to git fetch from it to determine if the remote was
otherwise accessible. That was unnessary work, since exit status 255
indicates a connection problem.

As well as avoiding the extra work of the fetch, this also improves
things when a ssh remote cannot be connected to due to a problem with
the git-annex ssh control socket. In that situation, ssh will also exit 255.
Before, the git fetch was tried in that situation, and would succeed, since
it does not use the git-annex ssh control socket. git-annex would conclude
that git-annex-shell was not installed on the remote, which could be wrong.

I suppose it also used to be possible for the user to need to enter a
ssh password on each connection to the remote. If they entered the wrong
password for the git-annex-shell call, but then the right password for
the git fetch, it would also incorrectly set annex-ignore, and that
situation is also now fixed.

14 months agocomment
Joey Hess [Fri, 3 Jan 2025 17:27:34 +0000 (13:27 -0400)]
comment

14 months agocomment
Joey Hess [Fri, 3 Jan 2025 17:25:27 +0000 (13:25 -0400)]
comment

14 months agoimprove man page and comment
Joey Hess [Fri, 3 Jan 2025 17:05:23 +0000 (13:05 -0400)]
improve man page and comment

14 months agocomment
Joey Hess [Fri, 3 Jan 2025 16:30:20 +0000 (12:30 -0400)]
comment